package net.luoran.dvm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import net.luoran.dvm.common.base.BaseEntity;

import java.io.Serializable;

/**
 * <p>
 * 公司
 * </p>
 *
 * @author MyBatisPlusGenerater
 * @since 2020-10-29
 */
@TableName("sys_company")
@Data
public class SysCompanyDO extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "company_id", type = IdType.AUTO)
    private Integer companyId;

    @TableField("parent_id")
    private Integer parentId;

    @TableField("company_name")
    private String companyName;

    @TableField("order_num")
    private Integer orderNum;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 0正常 1删除
     */
    @TableField("del_flag")
    private String delFlag;
}
